<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>  
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  <title>财务月报/对账</title>
  <%@ include file="../link_script.jsp" %>
  <script src="js/pmis/pmis-account.js" language="javascript" type="text/javascript"></script>
</head>
<body>
<html:form styleId="list" action="/account.do">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@ include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6">
          <tr>
            <td width="100%" class="STYLE11">&nbsp;<b>对账日期</b>&nbsp;&nbsp;${currentDate }&nbsp;&nbsp;&nbsp;&nbsp;
              <b>温馨提醒</b>&nbsp;&nbsp;每月月初进行对账，对不平衡账款进行适当的销账，并给出不平衡理由。</td>
          </tr> 
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6">
          <tr>
            <td width="100%" height="22" bgcolor="#FFFFFF"><br/></td>
          </tr> 
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6" onMouseOver="javascript:changeto();" onmouseout="javascript:changeback();">
          <tr>
            <td width="4%" class="tdClass">序号</td>
            <td width="9%" class="tdClass">更新日期</td>
            <td width="9%" class="tdClass">开户银行</td>
            <td width="6%" class="tdClass">归属城市</td>
            <td width="14%" class="tdClass">银行账号</td>
            <td width="10%" class="tdClass">月结</td>
            <td width="*" class="tdClass">...</td>           
          </tr>
          <logic:notEmpty name="cardList">
          <% int i = 0; %>
            <logic:iterate id="var" name="cardList">
            <% i++; %>
              <tr>
                <c:if test="${var.bankName=='合计'}">
                <td class="STYLE42"><%=i %></td>
                <td class="STYLE42">&nbsp;<bean:write name="var" property="editDate" /></td>
                <td class="STYLE42"><bean:write name="var" property="bankName" /></td>
                <td class="STYLE42"><bean:write name="var" property="bankCity" /></td>
                <td class="STYLE41">&nbsp;<STRONG><bean:write name="var" property="accountCode" /></STRONG></td>
                <td class="STYLE43">&nbsp;<bean:write name="var" property="balance" />￥&nbsp;&nbsp;</td>
                <td class="STYLE21">&nbsp;&nbsp;银行账户结余汇总，在对账时即“实际结余”</td>
                </c:if>
                <c:if test="${var.bankName!='合计'}">
                <td class="STYLE12"><%=i %></td>
                <td class="STYLE12">&nbsp;<bean:write name="var" property="editDate" /></td>
                <td class="STYLE11">&nbsp;<bean:write name="var" property="bankName" /></td>
                <td class="STYLE12"><bean:write name="var" property="bankCity" /></td>
                <td class="STYLE11">&nbsp;<STRONG><bean:write name="var" property="accountCode" /></STRONG></td>
                <td class="STYLE13">&nbsp;<bean:write name="var" property="balance" />￥&nbsp;&nbsp;</td>
                <td class="STYLE12">&nbsp;&nbsp;</td>
                </c:if>
              </tr>
            </logic:iterate>
          </logic:notEmpty>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6">
          <tr>
            <td width="100%" height="22" bgcolor="#FFFFFF"><br/></td>
          </tr> 
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6" onMouseOver="javascript:changeto();" onmouseout="javascript:changeback();">
          <tr>
            <td width="10%" class="tdClass">实际结余/￥</td>
            <td width="10%" class="tdClass">账本余额/￥</td>
            <td width="6%" class="tdClass">状态</td>
            <td width="10%" class="tdClass">差额/￥</td>
            <td width="10%" class="tdClass">基本操作</td>
            <td width="*" class="tdClass">...</td>           
          </tr>
          <tr>
            <c:if test="${state=='正常'}">
            <td class="STYLE33">${totalMoney }￥&nbsp;&nbsp;</td>
            <td class="STYLE33">${systemMoney }￥&nbsp;&nbsp;</td>
            <td class="STYLE32">${state }</td>
            <td class="STYLE33">${mistakeMoney }.00￥&nbsp;&nbsp;</td>
            <td class="STYLE32">明细&nbsp;&nbsp;平帐</td>
            <td class="STYLE11">&nbsp;&nbsp;${stateMsg }</td>
            </c:if>
            <c:if test="${state!='正常'}">
            <td class="STYLE43">${totalMoney }￥&nbsp;&nbsp;</td>
            <td class="STYLE43">${systemMoney }￥&nbsp;&nbsp;</td>
            <td class="STYLE42">${state }</td>
            <td class="STYLE43">${mistakeMoney }￥&nbsp;&nbsp;</td>
            <td class="STYLE42">明细&nbsp;&nbsp;<a href="account.do?method=verificationOfAccountByMonthly_Do&mistakeMoney=${mistakeMoney}">平帐</a></td>
            <td class="STYLE41">&nbsp;&nbsp;${stateMsg }</td>
            </c:if>
          </tr>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@ include file="../no_page.jsp"%>
</table>
</html:form>
</body>
</html>

